This is how to setup Dropbox as a Windows Service so that you do not have to leave a user account logged onto your server for Dropbox to sync files. This can also work for Server 2008 R2.
Pro Tip: If you set this up and it stops working later on, just download and install the latest Dropbox software and then run through the steps again and it will work. Make sure to delete the “service” first. I had to remove it via REGEDIT. Google it if you are not sure how to remove a “service”.
Step 1: Exit from Dropbox software
Make sure to exit out of the Dropbox software. This can be done by Right Clicking the notification on the taskbar and choosing to EXIT from the program.
Step 2: Download and install Microsoft Windows 2003 Resource Kit
Download and install Microsoft Windows 2003 Resource Kit: https://www.microsoft.com/en-au/download/details.aspx?id=17657
Step 3: Copy srvany.exe to the root of the Dropbox program folder
Copy the file: “srvany.exe” directly into the following location: C:\Program Files (x86)\Dropbox\
Step 4: Run the following in Command Prompt
Run the following in Command Prompt:
sc create Dropbox binPath= “C:\Program Files (x86)\Dropbox\srvany.exe” DisplayName= “Dropbox Service”
Step 5: GOTO Properties of “Dropbox Service”
Launch “services.msc” and Right Click “Dropbox Service” and choose Properties.
Step 6: Set Log On credentials
GO TO “Log On” Tab. Choose the Windows/Local Computer account that usually logs into the Windows session to launch Dropbox. HINT: This is the same account that saved the logon credentials in the Dropbox software to launch at startup and sync when you log in.
Step 8: Let’s run some Powershell scripts
Run the following Commands in Powershell:
New-Item -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dropbox\Parameters
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dropbox\Parameters -Name Application -PropertyType String -Value “C:\Program Files (x86)\Dropbox\Client\Dropbox.exe”